<?php
namespace app\admin\model\order;

use app\common\traits\ModelCurd;
use think\Model;

class OrderRecordModel extends Model
{
    protected $table='cp_order_record';
    protected $autoWriteTimestamp = true;
    use ModelCurd;
    public function setIsAdminAttr($value)
    {
        if($value) return $value;
        return 0;
    }

}